﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="SearchWC.ascx.cs" Inherits="MadeInPortugalWebApplication.WebControl.SearchWC" %>
<style type="text/css">
    .MIP-Search
    {
        text-align:center;
        width:100%;
        display:inline-block;
    }
</style>
<section id="page">
<asp:UpdatePanel runat="server" UpdateMode="Always" ID="SearchWCUpdatePanel">
<Triggers>
        <asp:PostBackTrigger ControlID="btnSearch" />
    </Triggers>
    <ContentTemplate>
        <div class="MIP-Search" runat="server" id="search">
            <span>
                <asp:TextBox ID="tbxSearchString" runat="server" CssClass="inputBig"></asp:TextBox></span>
           <span>
                <asp:DropDownList ID="ddlSearchType" runat="server" CssClass="input" TextMode="Password">
                    <asp:ListItem Selected="True">By Product</asp:ListItem>
                    <asp:ListItem>By Enterprise</asp:ListItem>
            </asp:DropDownList>
            </span>
            <asp:Button ID="btnSearch" runat="server" OnClick="btnSearch_Click" Text="Search" />
        </div>
    </ContentTemplate>
</asp:UpdatePanel>
</section>